package com.axjy.pojo;


import org.springframework.format.annotation.DateTimeFormat;

public class User {

  private Integer id;
  private String userCode;
  private String userName;
  private String userPassword;
  private String sex;
  private Integer age;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private java.time.LocalDate entryDate;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private java.time.LocalDate dimissionDate;
  private String phoneTel;
  private String email;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private java.time.LocalDateTime creationTime;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private java.time.LocalDateTime lastLoginTime;
  private String createdBy;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private java.time.LocalDateTime lastUpdateTime;
  private Integer xjzt;
  private Integer userStatus;
  private Integer roleId;
  private Role role;

  public Integer getXjzt() {
    return xjzt;
  }

  public void setXjzt(Integer xjzt) {
    this.xjzt = xjzt;
  }

  public Role getRole() {
    return role;
  }

  public void setRole(Role role) {
    this.role = role;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public String getUserCode() {
    return userCode;
  }

  public void setUserCode(String userCode) {
    this.userCode = userCode;
  }


  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }


  public String getUserPassword() {
    return userPassword;
  }

  public void setUserPassword(String userPassword) {
    this.userPassword = userPassword;
  }


  public String getSex() {
    return sex;
  }

  public void setSex(String sex) {
    this.sex = sex;
  }


  public Integer getAge() {
    return age;
  }

  public void setAge(Integer age) {
    this.age = age;
  }


  public java.time.LocalDate getEntryDate() {
    return entryDate;
  }

  public void setEntryDate(java.time.LocalDate entryDate) {
    this.entryDate = entryDate;
  }


  public java.time.LocalDate getDimissionDate() {
    return dimissionDate;
  }

  public void setDimissionDate(java.time.LocalDate dimissionDate) {
    this.dimissionDate = dimissionDate;
  }


  public String getPhoneTel() {
    return phoneTel;
  }

  public void setPhoneTel(String phoneTel) {
    this.phoneTel = phoneTel;
  }


  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }


  public java.time.LocalDateTime getCreationTime() {
    return creationTime;
  }

  public void setCreationTime(java.time.LocalDateTime creationTime) {
    this.creationTime = creationTime;
  }


  public java.time.LocalDateTime getLastLoginTime() {
    return lastLoginTime;
  }

  public void setLastLoginTime(java.time.LocalDateTime lastLoginTime) {
    this.lastLoginTime = lastLoginTime;
  }


  public String getCreatedBy() {
    return createdBy;
  }

  public void setCreatedBy(String createdBy) {
    this.createdBy = createdBy;
  }


  public java.time.LocalDateTime getLastUpdateTime() {
    return lastUpdateTime;
  }

  public void setLastUpdateTime(java.time.LocalDateTime lastUpdateTime) {
    this.lastUpdateTime = lastUpdateTime;
  }


  public Integer getUserStatus() {
    return userStatus;
  }

  public void setUserStatus(Integer userStatus) {
    this.userStatus = userStatus;
  }


  public Integer getRoleId() {
    return roleId;
  }

  public void setRoleId(Integer roleId) {
    this.roleId = roleId;
  }

}
